package com.blackline.UI.JOURNALS;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Feb, 2013
 * <p>This page is shown after clicking  "Add New Journal" link in the Journals Grid with preparer role.
 * Please refer to UI.Journal.png in doc-files.
 */
public class Journal {
	/**
	 * Approver text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_ddlRole2")
	public WebElement Approver_textField;
	/**
	 * Reviewer text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_ddlRole3")
	public WebElement Reviewer_textField;
	/**
	 * Account Reviewer text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_ddlRole5")
	public WebElement Account_Reviewer_textField;
	/**
	 * Account Manager text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_ddlRole7")
	public WebElement Account_Manager_textField;
	/**
	 * Internal Auditor text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_ddlRole8")
	public WebElement Internal_Auditor_textField;
	/**
	 * Document Date text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_Field_BKPF_BLDAT_tbDate")
	public WebElement Document_Date_textField;
	/**
	 * Document Type text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_Field_BKPF_BLART")
	public WebElement Document_Type_textField;
	/**
	 * Company Code text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_Field_BKPF_BUKRS")
	public WebElement Company_Code_textField;
	/**
	 * Posting Date text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_Field_BKPF_BUDAT_tbDate")
	public WebElement Posting_Date_textField;
	/**
	 * Add Line link
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_lbAddLine")
	public WebElement Add_Line_Link;
	/**
	 * Pstky text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_DBGrid_gvMain_filterRow_tbFilter1_NEWBS")
	public WebElement Pstky_TextField;
	/**
	 * Apply link
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_DBGrid_lbApplyFilters")
	public WebElement Apply_Link;
	/**
	 * Clone Icon
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_DBGrid_gvMain_ctl02_ibClone")
	public WebElement Clone_Icon;
	/**
	 * Certify Button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_SaveCertifyButtons1_btnSaveCertify")
	public WebElement Certify_Button;
	/**
	 * Reject Button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_SaveCertifyButtons1_btnReject")
	public WebElement Reject_Button;
	
	/**
	 * Reference TextField
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_Journals1_Field_BKPF_XBLNR")
	public WebElement Reference_TextField;
	/**
	 * Pstky value of record1
	 */
	@FindBy (xpath = "//table[@id='ctl00_ctl00_contentBody_cphMain_Journals1_DBGrid_gvMain']/tbody/tr[2]/td[3]")
	public WebElement PstkyRecord1;
	/**
	 * Pstky value of record1
	 */
	@FindBy (xpath = "//table[@id='ctl00_ctl00_contentBody_cphMain_Journals1_DBGrid_gvMain']/tbody/tr[3]/td[3]")
	public WebElement PstkyRecord2;
}
